﻿﻿package test {
	import extremefx.conditions.requiresString;	
	import extremefx.conditions.requiresNumber;
	
	import flash.display.Sprite;		

	/**
	 * @author Marcelo Volmaro
	 */
	 
	[Frame(factoryClass="extremefx.Preloader")];
	public class ConditionTest extends Sprite {
		
		public function main():void {
			requiresNumber(123456, "a").isEqualTo(123456).isGreaterThan(123455).isLessThan(123457).isNotEqualTo(1).isInRange(123455, 123457).isOfType(Number);
			
			requiresString("This is a test", "b").startsWith("This").endsWith("test");
			
		}
	}
}
